<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>首页</h1>
<form action="/postname" method="post">
    <input type="text" name="name">
    <button type="submit">提交</button>
</form>
<div th:text="${dd}">
    你好
</div>
</body>
</html>